<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>编辑数据来源</title>
    <!--引入外部js-->
    <script src="../../../../../miniUI/scripts/boot.js"></script>
    <style type="text/css">
        .widthBox{
            width: 300px;
        }
        .dbwidthBox{
            width: 280px;
        }
    </style>
</head>
<body>
    <!--数据来源填写表单-->
    <form id="sqlForm" method="post">
        <!--按钮-->
        <div style="width: 100%;border:1px solid black;margin-bottom: 10px">
            <!--控制栏-->
            <div class="mini-toolbar" style="border:0;padding:0px;">
                <table style="width: 100%;">
                    <tr>
                        <!--<td style="width:100%;">-->
                            <!--<a class="mini-button" iconCls="icon-search" plain="true">查询</a>-->
                            <!--<span class="separator"></span>   &lt;!&ndash;分割线&ndash;&gt;-->
                            <!--<a class="mini-button" iconCls="icon-add" plain="true">增加</a>-->
                            <!--<span class="separator"></span>   &lt;!&ndash;分割线&ndash;&gt;-->
                            <!--<a class="mini-button" iconCls="icon-edit" plain="true">修改</a>-->
                        <!--</td>-->
                        <td style="white-space:nowrap;">
                            <a class="mini-button" iconCls="icon-save" plain="true" onclick="save()">保存</a>
                           <span class="separator"></span>   
                             <!-- <a class="mini-button" iconCls="icon-remove" plain="true" onclick="giveUp()">放弃</a> -->
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div style="margin:0 14% 10px;">
            <table style="table-layout:fixed;line-height:2.8">
                <tr>
                    <input name="reportId" class="mini-hidden" required="true"/>
                    <td style="width:100px;">报表名：</td>
                    <td class="widthBox">
                        <input name="reportName" class="mini-textbox widthBox" required="true"/>
                    </td>
                </tr>
                <tr>
                    <td style="width:100px;">IP地址：</td>
                    <td class="widthBox">
                        <input name="ipAddress" class="mini-textbox widthBox" required="true"/>
                    </td>
                </tr>
                <tr>
                    <td style="width:100px;">数据库名称：</td>
                    <td class="widthBox">
                        <input name="dbName" class="mini-textbox widthBox" required="true"/>
                    </td>
                </tr>
                <tr>
                    <td style="width:100px;">数据驱动：</td>
                    <td class="widthBox">
                        <input name="jDBCDriver" class="mini-textbox widthBox" required="true"/>
                    </td>
                </tr>
                <tr>
                    <td style="width:100px;">用户名：</td>
                    <td class="widthBox">
                        <input name="jDBCUserName" class="mini-textbox widthBox" required="true"/>
                    </td>
                </tr>
                <tr>
                    <td style="width:100px;">密码：</td>
                    <td class="widthBox">
                        <input name="jDBCPassword" class="mini-textbox widthBox" required="true"/>
                    </td>
                </tr>
                <tr>
                    <td style="width:100px;">数据来源：</td>
                    <td class="widthBox">
                        <input name="sql" class="mini-textarea widthBox" required="true" style="height:300px"/>
                    </td>
                </tr>
                <tr>
                    <td style="width:100px;">查询条件：</td>
                    <td style="width:230px">
                        <input name="whereParam" class="mini-textbox" required="true" style="width:230px"/>
                        <a class="mini-button" iconCls="icon-search" onclick="searchDet()">设置</a>
                    </td>
                </tr>
            </table>
        </div>
    </form>

    <script src="js/dataSources.js"></script>
</body>
</html>